package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.SysWorkLogMeetingsMapper;
import com.ruoyi.system.domain.SysWorkLogMeetings;
import com.ruoyi.system.service.ISysWorkLogMeetingsService;

/**
 * 运行会议记录Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-02-07
 */
@Service
public class SysWorkLogMeetingsServiceImpl implements ISysWorkLogMeetingsService 
{
    @Autowired
    private SysWorkLogMeetingsMapper sysWorkLogMeetingsMapper;

    /**
     * 查询运行会议记录
     * 
     * @param id 运行会议记录ID
     * @return 运行会议记录
     */
    @Override
    public SysWorkLogMeetings selectSysWorkLogMeetingsById(Long id)
    {
        return sysWorkLogMeetingsMapper.selectSysWorkLogMeetingsById(id);
    }

    /**
     * 查询运行会议记录列表
     * 
     * @param sysWorkLogMeetings 运行会议记录
     * @return 运行会议记录
     */
    @Override
    public List<SysWorkLogMeetings> selectSysWorkLogMeetingsList(SysWorkLogMeetings sysWorkLogMeetings)
    {
        return sysWorkLogMeetingsMapper.selectSysWorkLogMeetingsList(sysWorkLogMeetings);
    }

    /**
     * 新增运行会议记录
     * 
     * @param sysWorkLogMeetings 运行会议记录
     * @return 结果
     */
    @Override
    public int insertSysWorkLogMeetings(SysWorkLogMeetings sysWorkLogMeetings)
    {
        return sysWorkLogMeetingsMapper.insertSysWorkLogMeetings(sysWorkLogMeetings);
    }

    /**
     * 修改运行会议记录
     * 
     * @param sysWorkLogMeetings 运行会议记录
     * @return 结果
     */
    @Override
    public int updateSysWorkLogMeetings(SysWorkLogMeetings sysWorkLogMeetings)
    {
        return sysWorkLogMeetingsMapper.updateSysWorkLogMeetings(sysWorkLogMeetings);
    }

    /**
     * 批量删除运行会议记录
     * 
     * @param ids 需要删除的运行会议记录ID
     * @return 结果
     */
    @Override
    public int deleteSysWorkLogMeetingsByIds(Long[] ids)
    {
        return sysWorkLogMeetingsMapper.deleteSysWorkLogMeetingsByIds(ids);
    }

    /**
     * 删除运行会议记录信息
     * 
     * @param id 运行会议记录ID
     * @return 结果
     */
    @Override
    public int deleteSysWorkLogMeetingsById(Long id)
    {
        return sysWorkLogMeetingsMapper.deleteSysWorkLogMeetingsById(id);
    }
}
